<template>
    <div class="addProject business-workAdd">
        <div class="addForm zll-form">
            <div style="display: flex;line-height: 40px;">
                <p style="font-size: 16px; width: 100px;">U直</p>
                
                <el-select :disabled="disabled" :popper-append-to-body="!isScreenfull" v-model="addForm.data2" placeholder="请选择计划名、规格" class="input_right" clearable>
                    <el-option label="1" value="1"></el-option>
                </el-select>
            </div>
            <div class="tableList" style="margin-top: 10px;">
                <table border="1">					
                    <tr>							
                        <th>直径±0.1mm</th>
                        <th>长度±2mm</th>
                        <th>产品重量（g）</th>
                        <th>气味</th>
                        <th>总料重 (kg)</th>
                        <th>杂质</th>
                        <th>外观</th>
                        <th>壁厚≤0.02mm</th>
                        <th>尖口≥45°</th>
                        <th>检测时间</th>
                        <th>质检员</th>
                    </tr>
                    <tr class="add_Table">
                        <td><el-input v-model="addForm.data1" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                        <td><el-input v-model="addForm.data2" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                        <td><el-input v-model="addForm.data3" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                        <td><el-input v-model="addForm.data4" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                        <td><el-input v-model="addForm.data5" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                        <td><el-input v-model="addForm.data6" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                        <td><el-input v-model="addForm.data7" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                        <td><el-input v-model="addForm.data8" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                        <td><el-input v-model="addForm.data9" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                        <td><el-input v-model="addForm.data10" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                        <td><el-input v-model="addForm.data11" placeholder="" class="text_center" clearable :disabled="type == 'see'"></el-input></td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    props: ['editData','type','isScreenfull'],
    data(){
        return {
            addForm:[
                {data1: '主料',data5:'',data7:'',},
                {data1: '主料',data5:'',data7:'',},
                {data1: '辅料',data5:'',data7:'',},
                {data1: '辅料',data5:'',data7:'',},
                {data1: '色母',data5:'',data7:'',}
            ],
            tableList: [{},{}],
        }
    },
    methods: {
		submitForm(val,type) {
			let self = this;
            self.$eventBus.$emit("updateWorkList");
		},
    },
    mounted(){
        
    },
}
</script>
<style lang="scss" scoped>
@import "@/style/dialog.scss";
.flex_ {
    width: 150px;
    ._left {
        color: #9e9e9e;
    }
}
.nav_list {
    margin-top: 20px;
    ._title {
        line-height: 40px;
        color: #00D1D0;
        display: flex;justify-content: space-between;
        i {
            font-size: 16px;
            margin-right: 5px;
        }
    }
    .edit_ {
        color: #409EFF;
        cursor: pointer;
    }
}
</style>